<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, height=device-height, initial-scale=1, user-scalable=no">
  <meta name="description" content="API docs for the toString method from the TextStyle class, for the Dart programming language.">
  <title>toString method - TextStyle class - dart:ui library - Dart API</title>
  <!-- required because all the links are pseudo-absolute -->
  <base href="../..">

  <link href="https://fonts.googleapis.com/css?family=Source+Code+Pro:500,400i,400,300|Source+Sans+Pro:400,300,700" rel="stylesheet">
  <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
  <link rel="stylesheet" href="static-assets/github.css">
  <link rel="stylesheet" href="static-assets/styles.css">
  <link rel="icon" href="static-assets/favicon.png">
  
</head>

<body>

<div id="overlay-under-drawer"></div>

<header id="title">
  <button id="sidenav-left-toggle" type="button">&nbsp;</button>
  <ol class="breadcrumbs gt-separated dark hidden-xs">
    <li><a href="index.html">pin_code_fields</a></li>
    <li><a href="dart-ui/dart-ui-library.html">dart:ui</a></li>
    <li><a href="dart-ui/TextStyle-class.html">TextStyle</a></li>
    <li class="self-crumb">toString method</li>
  </ol>
  <div class="self-name">toString</div>
  <form class="search navbar-right" role="search">
    <input type="text" id="search-box" autocomplete="off" disabled class="form-control typeahead" placeholder="Loading search...">
  </form>
</header>

<main>

  <div id="dartdoc-sidebar-left" class="col-xs-6 col-sm-3 col-md-2 sidebar sidebar-offcanvas-left">
    <header id="header-search-sidebar" class="hidden-l">
      <form class="search-sidebar" role="search">
        <input type="text" id="search-sidebar" autocomplete="off" disabled class="form-control typeahead" placeholder="Loading search...">
      </form>
    </header>
    
    <ol class="breadcrumbs gt-separated dark hidden-l" id="sidebar-nav">
      <li><a href="index.html">pin_code_fields</a></li>
      <li><a href="dart-ui/dart-ui-library.html">dart:ui</a></li>
      <li><a href="dart-ui/TextStyle-class.html">TextStyle</a></li>
      <li class="self-crumb">toString method</li>
    </ol>
    
    <h5>TextStyle class</h5>
    <ol>
      <li class="section-title"><a href="dart-ui/TextStyle-class.html#constructors">Constructors</a></li>
      <li><a href="dart-ui/TextStyle/TextStyle.html">TextStyle</a></li>
    
      <li class="section-title">
        <a href="dart-ui/TextStyle-class.html#instance-properties">Properties</a>
      </li>
      <li><a href="dart-ui/TextStyle/hashCode.html">hashCode</a></li>
      <li class="inherited"><a href="dart-core/Object/runtimeType.html">runtimeType</a></li>
    
      <li class="section-title"><a href="dart-ui/TextStyle-class.html#instance-methods">Methods</a></li>
      <li><a href="dart-ui/TextStyle/toString.html">toString</a></li>
      <li class="inherited"><a href="dart-core/Object/noSuchMethod.html">noSuchMethod</a></li>
    
      <li class="section-title"><a href="dart-ui/TextStyle-class.html#operators">Operators</a></li>
      <li><a href="dart-ui/TextStyle/operator_equals.html">operator ==</a></li>
    
    
    
    </ol>
  </div><!--/.sidebar-offcanvas-->

  <div id="dartdoc-main-content" class="col-xs-12 col-sm-9 col-md-8 main-content">
      <div><h1><span class="kind-method">toString</span> method</h1></div>

    <section class="multi-line-signature">
      <div>
        <ol class="annotation-list">
          <li>@override</li>
        </ol>
      </div>
      <span class="returntype"><a href="dart-core/String-class.html">String</a></span>
            <span class="name ">toString</span>
(<wbr>)
      <div class="features">override</div>
    </section>
    <section class="desc markdown">
      <p>Returns a string representation of this object.</p>
    </section>
    
    <section class="summary source-code" id="source">
      <h2><span>Implementation</span></h2>
      <pre class="language-dart"><code class="language-dart">@override
String toString() {
  return &#39;TextStyle(&#39;
           &#39;color: ${              _encoded[0] &amp; 0x00002 == 0x00002  ? Color(_encoded[1])                  : &quot;unspecified&quot;}, &#39;
           &#39;decoration: ${         _encoded[0] &amp; 0x00004 == 0x00004  ? TextDecoration._(_encoded[2])       : &quot;unspecified&quot;}, &#39;
           &#39;decorationColor: ${    _encoded[0] &amp; 0x00008 == 0x00008  ? Color(_encoded[3])                  : &quot;unspecified&quot;}, &#39;
           &#39;decorationStyle: ${    _encoded[0] &amp; 0x00010 == 0x00010  ? TextDecorationStyle.values[_encoded[4]] : &quot;unspecified&quot;}, &#39;
           &#47;&#47; The decorationThickness is not in encoded order in order to keep it near the other decoration properties.
           &#39;decorationThickness: ${_encoded[0] &amp; 0x00100 == 0x00100  ? _decorationThickness                    : &quot;unspecified&quot;}, &#39;
           &#39;fontWeight: ${         _encoded[0] &amp; 0x00020 == 0x00020  ? FontWeight.values[_encoded[5]]          : &quot;unspecified&quot;}, &#39;
           &#39;fontStyle: ${          _encoded[0] &amp; 0x00040 == 0x00040  ? FontStyle.values[_encoded[6]]           : &quot;unspecified&quot;}, &#39;
           &#39;textBaseline: ${       _encoded[0] &amp; 0x00080 == 0x00080  ? TextBaseline.values[_encoded[7]]        : &quot;unspecified&quot;}, &#39;
           &#39;fontFamily: ${         _encoded[0] &amp; 0x00200 == 0x00200
                                   &amp;&amp; _fontFamily != null            ? _fontFamily                             : &quot;unspecified&quot;}, &#39;
           &#39;fontFamilyFallback: ${ _encoded[0] &amp; 0x00200 == 0x00200
                                   &amp;&amp; _fontFamilyFallback != null
                                   &amp;&amp; _fontFamilyFallback.isNotEmpty ? _fontFamilyFallback                     : &quot;unspecified&quot;}, &#39;
           &#39;fontSize: ${           _encoded[0] &amp; 0x00400 == 0x00400  ? _fontSize                               : &quot;unspecified&quot;}, &#39;
           &#39;letterSpacing: ${      _encoded[0] &amp; 0x00800 == 0x00800  ? &quot;${_letterSpacing}x&quot;                    : &quot;unspecified&quot;}, &#39;
           &#39;wordSpacing: ${        _encoded[0] &amp; 0x01000 == 0x01000  ? &quot;${_wordSpacing}x&quot;                      : &quot;unspecified&quot;}, &#39;
           &#39;height: ${             _encoded[0] &amp; 0x02000 == 0x02000  ? &quot;${_height}x&quot;                           : &quot;unspecified&quot;}, &#39;
           &#39;locale: ${             _encoded[0] &amp; 0x04000 == 0x04000  ? _locale                                 : &quot;unspecified&quot;}, &#39;
           &#39;background: ${         _encoded[0] &amp; 0x08000 == 0x08000  ? _background                             : &quot;unspecified&quot;}, &#39;
           &#39;foreground: ${         _encoded[0] &amp; 0x10000 == 0x10000  ? _foreground                             : &quot;unspecified&quot;}, &#39;
           &#39;shadows: ${            _encoded[0] &amp; 0x20000 == 0x20000  ? _shadows                                : &quot;unspecified&quot;}, &#39;
           &#39;fontFeatures: ${       _encoded[0] &amp; 0x40000 == 0x40000  ? _fontFeatures                           : &quot;unspecified&quot;}&#39;
         &#39;)&#39;;
}</code></pre>
    </section>

  </div> <!-- /.main-content -->

  <div id="dartdoc-sidebar-right" class="col-xs-6 col-sm-6 col-md-2 sidebar sidebar-offcanvas-right">
  </div><!--/.sidebar-offcanvas-->

</main>

<footer>
  <span class="no-break">
    pin_code_fields 2.3.0+2
  </span>

  
</footer>

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="static-assets/typeahead.bundle.min.js"></script>
<script src="static-assets/highlight.pack.js"></script>
<script src="static-assets/URI.js"></script>
<script src="static-assets/script.js"></script>


</body>

</html>
